import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '*',
      name: '/',
      component: resolve => require(['../pages/login/'], resolve)
    }, {
      path: '/home',
      name: 'home',
      component: resolve => require(['../pages/index/'], resolve)
    }
  ]
})
